//
//  InformationViewController.m
//  南京大牌档
//
//  Created by student on 14-1-16.
//  Copyright (c) 2014年 无锡第三团队. All rights reserved.
//

#import "InformationViewController.h"

@interface InformationViewController ()

@end

@implementation InformationViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        self.hidesBottomBarWhenPushed=YES;
        self.tabBarController.tabBar.hidden=YES;
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000
    if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7.0)
    {
        self.edgesForExtendedLayout = UIRectEdgeNone;
        self.extendedLayoutIncludesOpaqueBars = NO;
        self.modalPresentationCapturesStatusBarAppearance = NO;
    }
#endif
     self.navigationItem.title=@"软件信息";

    self.view.backgroundColor=[UIColor whiteColor];
	UILabel *titleLabel1 = [[UILabel alloc] initWithFrame:CGRectMake(0, 5, 320, 20)];
    titleLabel1.font = [UIFont boldSystemFontOfSize:16];
    [titleLabel1 setNumberOfLines:1];
    titleLabel1.textAlignment=1;
    titleLabel1.text = @"免责声明";
    [self.view addSubview:titleLabel1];
    
    UILabel *detialLabel1 = [[UILabel alloc] initWithFrame:CGRectMake(10, 30, 300, 100)];
    detialLabel1.font = [UIFont boldSystemFontOfSize:10];
    [detialLabel1 setNumberOfLines:10];
    detialLabel1.textAlignment=0;
    detialLabel1.text = @"   在您使用本软件之前，请仔细阅读本声明的所有内容。您一旦使用本软件，即表明您无条件地接受本声明，您应遵守本申明和相关法律的规定。本软件非“南京大牌档”官方APP，软件不保证提供的图片和文字资源的准确性、安全性和完整性，任何单位或者个人因使用本软件的一切资源而导致的财产损失、版权或知识产权等权利的侵犯等相关法律争议及后果，本人不承担任何责任，软件所有内容来源于互联网，软件仅供学习交流,任何人不得用于任何商业盈利。";
    [self.view addSubview:detialLabel1];
    
    UILabel *titleLabel2 = [[UILabel alloc] initWithFrame:CGRectMake(0, 140, 320, 20)];
    titleLabel2.font = [UIFont boldSystemFontOfSize:16];
    [titleLabel2 setNumberOfLines:1];
    titleLabel2.textAlignment=1;
    titleLabel2.text = @"开发背景";
    [self.view addSubview:titleLabel2];
    
    UILabel *detialLabel2 = [[UILabel alloc] initWithFrame:CGRectMake(10, 165, 300, 120)];
    detialLabel2.font = [UIFont boldSystemFontOfSize:10];
    [detialLabel2 setNumberOfLines:11];
    detialLabel2.textAlignment=0;
    detialLabel2.text = @"   餐饮行业作为大众型服务行业，餐饮企业定制手机客户端，可以让可以随时随地利用客户端获取菜谱，点餐，导航等功能，让企业实现更多盈利，节省成本。本团队出于学习交流的目的，选择“南京大牌档”餐饮作为开发对象，耗时数月开发出本软件。联系邮箱：390344868@qq.com";
    [self.view addSubview:detialLabel2];
    
    UILabel *titleLabel3 = [[UILabel alloc] initWithFrame:CGRectMake(0, 300, 320, 20)];
    titleLabel3.font = [UIFont boldSystemFontOfSize:16];
    [titleLabel3 setNumberOfLines:1];
    titleLabel3.textAlignment=1;
    titleLabel3.text = @"特别鸣谢";
    [self.view addSubview:titleLabel3];
    
    UILabel *titleLabel4 = [[UILabel alloc] initWithFrame:CGRectMake(0, 320, 320, 20)];
    titleLabel4.font = [UIFont boldSystemFontOfSize:10];
    [titleLabel4 setNumberOfLines:1];
    titleLabel4.textAlignment=1;
    titleLabel4.text = @"大惠企业发展有限公司";
    [self.view addSubview:titleLabel4];
    
    UILabel *titleLabel5 = [[UILabel alloc] initWithFrame:CGRectMake(0, 340, 320, 20)];
    titleLabel5.font = [UIFont boldSystemFontOfSize:10];
    [titleLabel5 setNumberOfLines:1];
    titleLabel5.textAlignment=1;
    titleLabel5.text = @"南京大牌档美食有限公司";
    [self.view addSubview:titleLabel5];
    
    UILabel *titleLabel6 = [[UILabel alloc] initWithFrame:CGRectMake(0, 360, 320, 20)];
    titleLabel6.font = [UIFont boldSystemFontOfSize:10];
    [titleLabel6 setNumberOfLines:1];
    titleLabel6.textAlignment=1;
    titleLabel6.text = @"上海正品贵德软件有限公司";
    [self.view addSubview:titleLabel6];
    
    UILabel *titleLabel7 = [[UILabel alloc] initWithFrame:CGRectMake(0, 380, 320, 20)];
    titleLabel7.font = [UIFont boldSystemFontOfSize:10];
    [titleLabel7 setNumberOfLines:1];
    titleLabel7.textAlignment=1;
    titleLabel7.text = @"大惠企业信息部";
    [self.view addSubview:titleLabel7];

}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
